﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="main3.aspx.cs" Inherits="main3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style5
        {
            width: 100%;
        }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" Width="745px">
    <Columns>
                            <asp:TemplateField>
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <table class="style5">
                                <tr>
                                    <td rowspan="4">
                                        <asp:Image ID="Image1" runat="server" ImageUrl='<%# bind("BookUrl") %>' />
                                    </td>
                                    <td colspan="2">
                                        <asp:Label ID="Label2" runat="server" Text='<%# bind("BookID") %>'></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        书名：</td>
                                    <td>
                                        <asp:Label ID="Label3" runat="server" Text='<%# bind("BookName") %>'></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        热卖价：</td>
                                    <td>
                                        <asp:Label ID="Label4" runat="server" Text='<%# bind("HotPrice") %>'></asp:Label>
                                        ￥</td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <asp:HyperLink ID="HyperLink5" runat="server" ImageUrl="images/购买.jpg">加入购物车</asp:HyperLink>
                                    </td>
                                </tr>
                            </table>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <EmptyDataTemplate>
                            
                        </EmptyDataTemplate>

    </asp:GridView>
</asp:Content>

